[INFO] cloning repository https://github.com/abdulkuddusa4/blockchainlib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abdulkuddusa4/blockchainlib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulkuddusa4%2Fblockchainlib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulkuddusa4%2Fblockchainlib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cb0ba41b3cbfe3ca710240997d8b98cc43fb2c75
[INFO] fixing abdulkuddusa4/blockchainlib against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabdulkuddusa4%2Fblockchainlib" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/abdulkuddusa4/blockchainlib
[INFO] finished tweaking git repo https://github.com/abdulkuddusa4/blockchainlib
[INFO] tweaked toml for git repo https://github.com/abdulkuddusa4/blockchainlib written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/abdulkuddusa4/blockchainlib on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/abdulkuddusa4/blockchainlib already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.53
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d
[INFO] running `Command { std: "docker" "start" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.8
[INFO] [stderr]    Compiling zmij v1.0.16
[INFO] [stderr]     Checking hex v0.3.2
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]    Compiling cc v1.2.53
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling openssl-sys v0.9.111
[INFO] [stderr]    Compiling openssl v0.10.75
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking crypto-hash v0.3.4
[INFO] [stderr]     Checking my_blockchain v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find type `kHash` in this scope
[INFO] [stdout]   --> src/block.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub hash: kHash,
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Hash = Vec<u8>;
[INFO] [stdout]    | -------------------- similarly named type alias `Hash` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 11 -     pub hash: kHash,
[INFO] [stdout] 11 +     pub hash: Hash,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/blockchain.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unspent_outputs: HashSet<Hash>
[INFO] [stdout]    |                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found derive macro `Hash`
[INFO] [stdout]   --> src/blockchain.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unspent_outputs: HashSet<Hash>
[INFO] [stdout]    |                              ^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Hash;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::hash::Hash;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if block.index != i as u32{
[INFO] [stdout]    |                           ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if i!=0{
[INFO] [stdout]    |            ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:40:34
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let prev_block = &self.blocks[i-1];
[INFO] [stdout]    |                                           ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `coinbase` in this scope
[INFO] [stdout]   --> src/blockchain.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if !coinbase.is_coinbase(){
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 56 -             if !coinbase.is_coinbase(){
[INFO] [stdout] 56 +             if !Coinbase.is_coinbase(){
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/blockchain.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut block_spent = HashSet::new();
[INFO] [stdout]    |                                   ^^^^^^^ use of undeclared type `HashSet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `output` in this scope
[INFO] [stdout]   --> src/transaction.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .map(|input|output.hash())
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `HashSet`
[INFO] [stdout]   --> src/transaction.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn input_hashes(&self)->HashSet{
[INFO] [stdout]    |                                 ^^^^^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn input_hashes(&self)->HashSet<T>{
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `HashSet`
[INFO] [stdout]   --> src/transaction.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn output_hashes(&self)->HashSet{
[INFO] [stdout]    |                                  ^^^^^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn output_hashes(&self)->HashSet<T>{
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()`
[INFO] [stdout]   --> src/blockchain.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ) -> Result<(), BVE> 
[INFO] [stdout]    |          --------------- expected `Result<(), BVE>` because of this return type
[INFO] [stdout] ...
[INFO] [stdout] 71 |                     return 
[INFO] [stdout]    |                     ^^^^^^ return type is not `()`
[INFO] [stdout]    |
[INFO] [stdout] help: give the `return` a value of the expected type
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     return Ok(()) 
[INFO] [stdout]    |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kHash` in this scope
[INFO] [stdout]   --> src/block.rs:11:15
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub hash: kHash,
[INFO] [stdout]    |               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | type Hash = Vec<u8>;
[INFO] [stdout]    | -------------------- similarly named type alias `Hash` defined here
[INFO] [stdout]    |
[INFO] [stdout] help: a type alias with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 11 -     pub hash: kHash,
[INFO] [stdout] 11 +     pub hash: Hash,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/blockchain.rs:19:19
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unspent_outputs: HashSet<Hash>
[INFO] [stdout]    |                      ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0573]: expected type, found derive macro `Hash`
[INFO] [stdout]   --> src/blockchain.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |     unspent_outputs: HashSet<Hash>
[INFO] [stdout]    |                              ^^^^ not a type
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::Hash;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::hash::Hash;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:29:21
[INFO] [stdout]    |
[INFO] [stdout] 29 |         if block.index != i as u32{
[INFO] [stdout]    |                           ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:39:6
[INFO] [stdout]    |
[INFO] [stdout] 39 |         if i!=0{
[INFO] [stdout]    |            ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `i` in this scope
[INFO] [stdout]   --> src/blockchain.rs:40:34
[INFO] [stdout]    |
[INFO] [stdout] 40 |             let prev_block = &self.blocks[i-1];
[INFO] [stdout]    |                                           ^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `coinbase` in this scope
[INFO] [stdout]   --> src/blockchain.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 |             if !coinbase.is_coinbase(){
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: a local variable with a similar name exists (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 56 -             if !coinbase.is_coinbase(){
[INFO] [stdout] 56 +             if !Coinbase.is_coinbase(){
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/blockchain.rs:61:26
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut block_spent = HashSet::new();
[INFO] [stdout]    |                                   ^^^^^^^ use of undeclared type `HashSet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `output` in this scope
[INFO] [stdout]   --> src/transaction.rs:50:16
[INFO] [stdout]    |
[INFO] [stdout] 50 |             .map(|input|output.hash())
[INFO] [stdout]    |                         ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `HashSet`
[INFO] [stdout]   --> src/transaction.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn input_hashes(&self)->HashSet{
[INFO] [stdout]    |                                 ^^^^^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn input_hashes(&self)->HashSet<T>{
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: missing generics for struct `HashSet`
[INFO] [stdout]   --> src/transaction.rs:47:31
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn output_hashes(&self)->HashSet{
[INFO] [stdout]    |                                  ^^^^^^^ expected at least 1 generic argument
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 47 |     pub fn output_hashes(&self)->HashSet<T>{
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0069, E0107, E0425, E0433, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0069`.
[INFO] [stdout] 
[INFO] [stdout] error[E0069]: `return;` in a function whose return type is not `()`
[INFO] [stdout]   --> src/blockchain.rs:71:6
[INFO] [stdout]    |
[INFO] [stdout] 26 |     ) -> Result<(), BVE> 
[INFO] [stdout]    |          --------------- expected `Result<(), BVE>` because of this return type
[INFO] [stdout] ...
[INFO] [stdout] 71 |                     return 
[INFO] [stdout]    |                     ^^^^^^ return type is not `()`
[INFO] [stdout]    |
[INFO] [stdout] help: give the `return` a value of the expected type
[INFO] [stdout]    |
[INFO] [stdout] 71 |                     return Ok(()) 
[INFO] [stdout]    |                            ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my_blockchain` (lib) due to 12 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0069, E0107, E0425, E0433, E0573.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0069`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `my_blockchain` (lib test) due to 12 previous errors
[INFO] running `Command { std: "docker" "inspect" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d", kill_on_drop: false }`
[INFO] [stdout] 2f1f6bcf83a6531beac941159eb1df678afb3625981751738983fa07605f813d
